<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:choose>
	<c:when test="${user != null }">
		<a href="logoff">注销</a>
	</c:when>
	<c:otherwise>
		<a href="javascript:void(0);">用户登录</a>
	</c:otherwise>
</c:choose>